package swing.admin.model;


public class Student {

    private Integer id;
    private Integer majorId;
    private String name;

    public Student() {
    }

    public Student(Integer id, Integer majorId, String name) {
        this.id = id;
        this.majorId = majorId;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMajorId() {
        return majorId;
    }

    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
